可使用 OpenSSH 生成 SSH 密钥对。
关于此任务
在 AIX®或 Linux主机和集群系统上设置 RSA 密钥对:
过程
- 通过在主机上发出类似以下命令的命令,创建 RSA 密钥对:
ssh-keygen -t rsa
您还可以为认证创建有效的 ECDSA 密钥对:
ssh-keygen -t ecdsa
提示: 从 $HOME/.ssh 目录发出此命令。
此过程会生成两份用户命名的文件。如果选择名称 key,那么文件将命名为 key 和 key.pub。其中,key 为专用密钥名称,key.pub 为公用密钥名称。
- Associate the public key with a user on
the clustered
system using the 管理 GUI.